class Student implements Cloneable{
    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
public class Test2 {
    public static void main(String[] args) throws CloneNotSupportedException {
         Student student = new Student();
        //clone方法属于Object类当中的，所以要强制类型转换
         Student student1 = (Student)student.clone();
    }
}
